package com.xishu.dao.jpa;

import com.xishu.entity.Company;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface CompanyDao extends JpaRepository<Company, Long>, JpaSpecificationExecutor<Company> {
    public Company findByName(String name);
}
